package com.example.tencentimdemo.im

import com.tencent.imsdk.v2.V2TIMSDKListener
import com.tencent.imsdk.v2.V2TIMUserFullInfo
import com.tencent.imsdk.v2.V2TIMUserStatus

class ImSdkListener: V2TIMSDKListener(){
    /** 正在连接到腾讯云服务器 */
    override fun onConnecting() {
        super.onConnecting()
    }
    /** 已经成功连接到腾讯云服务器 */
    override fun onConnectSuccess() {
        super.onConnectSuccess()
    }
    /** 连接腾讯云服务器失败 */
    override fun onConnectFailed(code: Int, error: String?) {
        super.onConnectFailed(code, error)
    }
    /** 当前用户被踢下线 */
    override fun onKickedOffline() {
        super.onKickedOffline()
    }
    /***/
    override fun onUserSigExpired() {
        super.onUserSigExpired()
    }
    /** 登录票据已经过期 */
    override fun onSelfInfoUpdated(info: V2TIMUserFullInfo?) {
        super.onSelfInfoUpdated(info)
    }
    /** 当前用户的资料发生了更新 */
    override fun onUserStatusChanged(userStatusList: MutableList<V2TIMUserStatus>?) {
        super.onUserStatusChanged(userStatusList)
    }
}